package com.cj.Fish;

import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Point;

public class enemyFish {
	
	private int id;
	private Bitmap img;	
	private int eFX = 0,eFY=0;
	private static int count = 1;
	
	public Bitmap getBitmap() {
		return img;
	}
	
	public int geteFX() {
		return eFX;
	}

	public void seteFX(int eFX) {
		this.eFX = eFX;
	}

	public int geteFY() {
		return eFY;
	}
	public void seteFY(int eFY) {
		this.eFY = eFY;
	}
	
	public enemyFish(Context context, int drawable, Point point) 
	{
		BitmapFactory.Options opts = new BitmapFactory.Options();
        opts.inJustDecodeBounds = true;
        img = BitmapFactory.decodeResource(context.getResources(), drawable); 
        eFX = point.x;
        eFY = point.y;
        id = count;
        count++;
	}	
	public int getId()
	{
		return id;
	}

}
